package hu.tortavar.client;

import hu.tortavar.client.ui.Main;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.History;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Tortavar implements EntryPoint {
	
	Main mainPanel = new Main();
	//private final TermekServiceAsync termekService = GWT.create(TermekService.class);
	
	@Override
	public void onModuleLoad() {
		RootPanel.get("kontener").add(mainPanel);
		//RootPanel.get("kontener").add(new Label("Hello"));
		
		History.fireCurrentHistoryState();
	}
}
